<!DOCTYPE html>
<html lang="zh">
<head>
    <title>入库单管理 | OMS</title>
    <meta charset="utf-8"/>
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"/>
    <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
    <meta http-equiv="cache-control" content="no-cache"/>
    <meta http-equiv="expires" content="Thu, 19 Nov 1900 08:52:00 GMT"/>

    <!-- 加载 bootstrap 样式-->
    <link type="text/css" rel="stylesheet"
          href="/Apollo/madmin/vendors/jquery-ui-1.10.4.custom/css/ui-lightness/jquery-ui-1.10.4.custom.min.css"/>
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/font-awesome/css/font-awesome.min.css"/>
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/bootstrap/css/bootstrap.min.css"/>

    <!-- 加载本页需要的三方插件样式 -->
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/DataTables/media/css/jquery.dataTables.css">
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/DataTables/extensions/TableTools/css/dataTables.tableTools.min.css">
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/DataTables/media/css/dataTables.bootstrap.css">
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-tablesorter/themes/blue/style-custom.css">
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/bootstrap-colorpicker/css/colorpicker.css">
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/bootstrap-clockface/css/clockface.css">
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/bootstrap-switch/css/bootstrap-switch.css">
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/animate.css/animate.css"/>
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/iCheck/skins/all.css"/>
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/jquery-notific8/jquery.notific8.min.css"/>
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/bootstrap-daterangepicker/daterangepicker-bs3.css"/>
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/vendors/bootstrap-datetimepicker/build/css/bootstrap-datetimepicker.min.css">

    <!-- 加载主题风格样式 -->
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/css/themes/style1/orange-blue.css" class="default-style"/>
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/css/themes/style1/orange-blue.css" id="theme-change" class="style-change color-change"/>
    <link type="text/css" rel="stylesheet" href="/Apollo/madmin/css/style-responsive.css"/>
    <link type="text/css" rel="stylesheet" href="/css/tooltip.css" />
    
    <style type="text/css">
        table thead tr th{
           /*  text-align: center !important; */
            white-space: inherit !important;
        }
    </style>
</head>
<body class="">
<!--BEGIN CONTENT-->
<div class="page-content">
    <div class="container-fluid">
        <div class="row">
            <div class="col-lg-6 col-xs-6 col-sm-6 col-md-6" style="line-height:36px;">
                <div class="actions">
                        <a href="#" class="btn btn-xs btn-info" data-toggle="modal" data-target="" onclick="addStockIn();" id="addStockIn" disabled> <i
                            class="fa"></i>&nbsp;新增
                        </a>&nbsp;
                    </div>
            </div>
            <div class="col-lg-6 col-xs-6 col-sm-6 col-md-6" style="margin-bottom: 10px;">
                <div class="input-group">
                    <input id="quickSearch" type="text" placeholder="商品名称、规格名称、仓库、供应商、入库单编号" class="form-control" value="" /> <span class="input-group-btn">
                        <button id="btnQuickSearch" type="button" class="btn btn-primary">
                            <i class="fa fa-search"></i>
                        </button>
                        <button id="btnAdvSearch" type="button" class="btn btn-default btn-adv-search">
                            <i class="fa fa-angle-double-down" style="font-size: 20px; color: white;"></i>
                        </button>
                    </span>
                </div>
            </div>
        </div>
        <div class="col-lg-12">
        <div class="portlet box portlet-blue tabbable" style="margin-bottom:0px;">
        <div class="panel panel-default" id="advSearchPanel" style="display:none;">
            <div class="panel-body">
                <form id="frmAdvSearch" role="form" action="" class="form-horizontal advance-query">
                    <div class="row">
                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                            <div class="form-group">
                                <label for="planInTimeStart" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">计划入库时间</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <div class="input-group datetimepicker-default date">
                                    <input id="planInTimeStart" name="planInTimeStart" type="text" class="form-control"
                                           placeholder="" data-format="YYYY-MM-DD HH:mm:ss" readonly required/>
                                    <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                            <div class="form-group">
                                <label for="factInTimeStart" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">实际入库时间</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <div class="input-group datetimepicker-default date">
                                    <input id="factInTimeStart" name="factInTimeStart" type="text" class="form-control"
                                           placeholder="" data-format="YYYY-MM-DD HH:mm:ss" readonly required/>
                                    <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                            <div class="form-group">
                                <label for="apprTimeStart" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">审核时间</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <div class="input-group datetimepicker-default date">
                                    <input id="apprTimeStart" name="apprTimeStart" type="text" class="form-control"
                                           placeholder="" data-format="YYYY-MM-DD HH:mm:ss" readonly required/>
                                    <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                            <div class="form-group">
                                <label for="planInTimeEnd" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label"></label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <div class="input-group datetimepicker-default date">
                                    <input id="planInTimeEnd" name="planInTimeEnd" type="text" class="form-control"
                                           placeholder="" data-format="YYYY-MM-DD HH:mm:ss" readonly required/>
                                    <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                            <div class="form-group">
                                <label for="factInTimeEnd" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label"></label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <div class="input-group datetimepicker-default date">
                                    <input id="factInTimeEnd" name="factInTimeEnd" type="text" class="form-control"
                                           placeholder="" data-format="YYYY-MM-DD HH:mm:ss" readonly required/>
                                    <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                                    </div>
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                            <div class="form-group">
                                <label for="apprTimeEnd" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label"></label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <div class="input-group datetimepicker-default date">
                                    <input id="apprTimeEnd" name="apprTimeEnd" type="text" class="form-control"
                                           placeholder="" data-format="YYYY-MM-DD HH:mm:ss" readonly required/>
                                    <span class="input-group-addon"><i class="fa fa-calendar"></i></span>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                            <div class="form-group">
                                <label for="stockinCode" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">入库单编号</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <input id="stockinCode" name="stockinCode" type="text" minlength="1" maxlength="100"
                                        class="form-control" fieldtype="string" />
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                            <div class="form-group">
                                <label for="wmsStockinCode" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">WMS入库单编号</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <input id="wmsStockinCode" name="wmsStockinCode" type="text" minlength="1" maxlength="100"
                                        class="form-control" fieldtype="string" />
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-4 col-lg-4 col-xs-4 col-md-4">
                            <div class="form-group">
                                <label for="stockinType" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">入库类型</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <select id="stockinType" name="stockinType" class="form-control required">
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                            <div class="form-group">
                                <label for="storId" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">仓库</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <select id="storId" name="storId" class="form-control required">
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                            <div class="form-group">
                                <label for="goodsCode" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">商品商家编码</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <input id="goodsCode" name="goodsCode" type="text" minlength="1" maxlength="100"
                                        class="form-control" fieldtype="string" />
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                            <div class="form-group">
                                <label for="goodsName" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">商品名称</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <input id="goodsName" name="goodsName" type="text" minlength="1" maxlength="100"
                                        class="form-control" fieldtype="string" />
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                            <div class="form-group">
                                <label for="skuCode" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">规格商家编码</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <input id="skuCode" name="skuCode" type="text" minlength="1" maxlength="100"
                                        class="form-control" fieldtype="string" />
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                            <div class="form-group">
                                <label for="skuName" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">规格名称</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <input id="skuName" name="skuName" type="text" minlength="1" maxlength="100"
                                        class="form-control" fieldtype="string" />
                                </div>
                            </div>
                        </div>
                        <div class="col-sm-4 col-lg-4 col-xs-4 col-md-4">
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-sm-12 col-lg-12 col-xs-12 col-md-12 text-right">
                            <button type="reset" id="advSearchReset" name="advSearchReset" class="btn btn-default">重置</button>
                            <button type="button" id="advSearchSubmit" name="advSearchSubmit" class="btn btn-primary">查询</button>
                        </div>
                    </div>
                </form>
            </div>
        </div>
        </div>
        </div>
        <div class="row">
            <div class="col-lg-12">
                <div class="portlet box portlet-blue tabbable">
                <div class="portlet-header">
                    <div class="caption">入库单列表</div>
                </div>
                <!--入库列表-->
                <div class="portlet-body">
	                <div class="tabbable portlet-tabs">
	                    <ul class="nav nav-tabs">
	                        <li style="display:none;">
	                            <button onclick="exportStockIn();" style="margin-top: 12px;" type="button" class="btn btn-warning btn-xs"><i class="fa"></i>&nbsp;导出</button>
	                        </li>
	                        <li>
	                            <button onclick="refresh();" style="margin-top: 12px;" type="button" class="btn btn-warning btn-xs"><i class="fa"></i>&nbsp;刷新</button>
	                        </li>
	                        <li><a id="stockIned" href="#divStockIned" data-toggle="tab">已入库(0)</a>
	                        </li>
	                        <li><a id="stockIning" href="#divStockIning" data-toggle="tab">入库中(0)</a>
	                        </li>
	                        <li><a id="waitStockIn" href="#divWaitStockIn" data-toggle="tab">待入库(0)</a>
	                        </li>
	                        <li class="active"><a id="waitAudit" href="#divWaitAudit" data-toggle="tab">待审核(0)</a>
	                        </li>
	                    </ul>
	                    <div class="tab-content">
	                        <!-- 待审核div -->
	                        <div id="divWaitAudit" class="tab-pane fade in active">
	                            <div class="table-responsive">
	                                <table id="tblWaitAudit" style="table-layout:fixed;"
                                        class="table table-hover table-striped table-bordered table-advanced tb-sticky-header tablefirst"
                                        width="100%">
	                                    <thead>
	                                        <tr>
                                                <th width="5px"></th>
					                            <th width="6%">入库单编号</th>
					                            <th width="6%">WMS入库单编号</th>
					                            <th width="5%">入库单类型</th>
					                            <th width="5%">入库仓库</th>
					                            <th width="5%">供应商</th>
					                            <th width="6%" style="text-align:right">采购总金额</th>
					                            <th width="5%">创建时间</th>
					                            <th width="5%">审核时间</th>
					                            <th width="5%">计划入库时间</th>
					                            <th width="5%">实际入库时间</th>
					                            <th width="6%">运输公司</th>
					                            <th width="5%">运单号</th>
					                            <th width="5%">送货人</th>
					                            <th width="6%">送货人手机</th>
					                            <th width="6%">送货人电话</th>
					                            <th width="7%">备注</th>
					                            <th width="15%">操作</th>
	                                        </tr>
	                                    </thead>
	                                    <tbody>
	                                    </tbody>
	                                </table>
	                            </div>
	                        </div>
	                        <!-- 待入库div -->
	                        <div id="divWaitStockIn" class="tab-pane fade">
	                            <div class="table-responsive">
	                                <table id="tblWaitStockIn" style="table-layout:fixed;"
	                                    class="table table-hover table-striped table-bordered table-advanced tb-sticky-header tablefirst"
	                                    width="100%">
	                                    <thead>
	                                        <tr>
                                                <th width="5px"></th>
					                            <th width="6%">入库单编号</th>
					                            <th width="6%">WMS入库单编号</th>
					                            <th width="5%">入库单类型</th>
					                            <th width="5%">入库仓库</th>
					                            <th width="5%">供应商</th>
					                            <th width="6%" style="text-align:right">采购总金额</th>
					                            <th width="5%">创建时间</th>
					                            <th width="5%">审核时间</th>
					                            <th width="5%">计划入库时间</th>
					                            <th width="5%">实际入库时间</th>
					                            <th width="6%">运输公司</th>
            					                <th width="5%">运单号</th>
					                            <th width="5%">送货人</th>
					                            <th width="6%">送货人手机</th>
					                            <th width="6%">送货人电话</th>
					                            <th width="7%">备注</th>
					                            <th width="15%">操作</th>
	                                        </tr>
	                                    </thead>
	                                    <tbody>
	                                    </tbody>
	                                </table>
	                            </div>
	                        </div>
	                        <!-- 入库中div -->
	                        <div id="divStockIning" class="tab-pane fade">
	                            <div class="table-responsive">
	                                <table id="tblStockIning" style="table-layout:fixed;"
	                                    class="table table-hover table-striped table-bordered table-advanced tb-sticky-header tablefirst"
	                                    width="100%">
	                                    <thead>
	                                        <tr>
                                                <th width="5px"></th>
					                            <th width="6%">入库单编号</th>
					                            <th width="6%">WMS入库单编号</th>
					                            <th width="5%">入库单类型</th>
					                            <th width="5%">入库仓库</th>
					                            <th width="5%">供应商</th>
					                            <th width="6%" style="text-align:right">采购总金额</th>
					                            <th width="5%">创建时间</th>
					                            <th width="5%">审核时间</th>
					                            <th width="5%">计划入库时间</th>
					                            <th width="5%">实际入库时间</th>
					                            <th width="6%">运输公司</th>
					                            <th width="5%">运单号</th>
					                            <th width="5%">送货人</th>
					                            <th width="6%">送货人手机</th>
					                            <th width="6%">送货人电话</th>
					                            <th width="7%">备注</th>
					                            <th width="10%">操作</th>
	                                        </tr>
	                                    </thead>
	                                    <tbody>
	                                    </tbody>
	                                </table>
	                            </div>
	                        </div>
	                        <!-- 已入库div -->
	                        <div id="divStockIned" class="tab-pane fade">
	                            <div class="table-responsive">
	                                <table id="tblStockIned" style="table-layout:fixed;"
	                                    class="table table-hover table-striped table-bordered table-advanced tb-sticky-header tablefirst"
	                                    width="100%">
	                                    <thead>
	                                        <tr>
                                                <th width="5px"></th>
					                            <th width="6%">入库单编号</th>
					                            <th width="6%">WMS入库单编号</th>
					                            <th width="5%">入库单类型</th>
					                            <th width="5%">入库仓库</th>
					                            <th width="5%">供应商</th>
					                            <th width="6%" style="text-align:right">采购总金额</th>
					                            <th width="5%">创建时间</th>
					                            <th width="5%">审核时间</th>
					                            <th width="5%">计划入库时间</th>
					                            <th width="5%">实际入库时间</th>
					                            <th width="6%">运输公司</th>
					                            <th width="5%">运单号</th>
					                            <th width="5%">送货人</th>
					                            <th width="6%">送货人手机</th>
					                            <th width="6%">送货人电话</th>
					                            <th width="7%">备注</th>
					                            <th width="10%">操作</th>
	                                        </tr>
	                                    </thead>
	                                    <tbody>
	                                    </tbody>
	                                </table>
	                            </div>
	                        </div>
                        </div>
                    </div>
                </div>
            </div>
            </div>
        </div>
    </div>
</div>
<!--END CONTENT-->

<!--新建入库单-->
<div id="divNewStockIn" tabindex="-1" role="dialog" aria-hidden="true" class="modal fade">
    <div class="modal-dialog modal-wide-width">
        <div class="modal-content">
            <div class="modal-header modal-header-primary">
                <button type="button" data-dismiss="modal" aria-hidden="true" class="close">x</button>
                <h4 id="editTitle" class="modal-title">入库单</h4>
            </div>
            <div class="modal-body">
                <!--begin form-->
                <form id="newForm" action="#" class="form-horizontal">
                    <div class="row">
                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                            <div class="form-group">
                                <label for="stockinType_m" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">入库单类型 <span class='require'>*</span></label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <select id="stockinType_m" name="stockinType_m" class="form-control required">
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                            <div class="form-group">
                                <label for="suppId" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">供应商 <span class='require'>*</span></label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <select id="suppId" name="suppId" class="form-control required">
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                            <div class="form-group">
                                <label for="planInTime" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">计划入库时间 <span class='require'>*</span></label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <div class="input-group datetimepicker-default date">
                                        <div style="float:left;"><input id="planInTime" name="planInTime" type="text" class="form-control required" data-format="YYYY-MM-DD HH:mm:ss" readonly /></div>
                                        <div style="float:left;cursor:pointer;"><span class="input-group-addon" style="height:34px;"><i class="fa fa-calendar"></i></span></div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                            <div class="form-group">
                                <label for="storId_m" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">入库仓库 <span class='require'>*</span></label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <select id="storId_m" name="storId_m" class="form-control required">
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                            <div class="form-group">
                                <label for="lgstId" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">物流公司 &nbsp;</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <select id="lgstId" name="lgstId" class="form-control">
                                        <option value="">请选择</option>
                                    </select>
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                            <div class="form-group">
                                <label for="lgstNo" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">快递单号 &nbsp;</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <input id="lgstNo" name="lgstNo" type="text" minlength="1" maxlength="100" class="form-control"/>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                            <div class="form-group">
                                <label for="deliveryman" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">送货人 &nbsp;</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <input id="deliveryman" name="deliveryman" type="text" minlength="1" maxlength="100" class="form-control" />
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                            <div class="form-group">
                                <label for="deliverymanMobile" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">送货人手机 &nbsp;</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <input id="deliverymanMobile" name="deliverymanMobile" type="text" minlength="1" maxlength="100" class="form-control"/>
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-4 col-xs-4 col-sm-4 col-md-4">
                            <div class="form-group">
                                <label for="deliverymanTel" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">送货人电话 &nbsp;</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <input id="deliverymanTel" name="deliverymanTel" type="text" minlength="1" maxlength="100" class="form-control" />
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-lg-8 col-xs-8 col-sm-8 col-md-8">
                            <div class="form-group">
                                <label for="remark" class="col-sm-2 col-lg-2 col-xs-2 col-md-2 control-label">备注</label>
                                <div class="col-sm-10 col-lg-10 col-xs-10 col-md-10">
                                    <textarea id="remark" name="remark" rows="3" maxlength="255" class="form-control"></textarea>
                                </div>
                            </div>
                        </div>
                    </div>
                    
                    <div class="row">
                        <div class="col-sm-12 col-lg-12 col-xs-12 col-md-12 text-right">
                            <button type="button" id="btnAdd" name="btnAdd" class="btn btn-primary">添加</button>
                        </div>
                    </div>
                    <br>
                </form>
                <!--end form-->
                <div class="portlet-body" style="height:310px;padding-right:2px;overflow-y:auto;overflow-x:auto;">
                    <table id="tblStockInGoods"
                           class="table table-hover table-striped table-bordered table-advanced tb-sticky-header"
                           width="100%">
                        <thead>
                        <tr>
                            <th width="7%" colValue="">商品商家编码</th>
                            <th width="10%" colValue="">商品名称</th>
                            <th width="7%" colValue="">规格商家编码</th>
                            <th width="10%" colValue="">规格名称</th>
                            <th width="8%" colValue="">库存类型</th>
                            <th width="8%" colValue="">标准进价</th>
                            <th width="10%" colValue="">入库单价（不含税）</th>
                            <th width="10%" colValue="">计划入库数量</th>
                            <th width="10%" colValue="">计划入库金额</th>
                            <th width="14%" colValue="">备注</th>
                            <th width="6%" colValue="">操作</th>
                        </tr>
                        </thead>
                        <tbody>
                        </tbody>
                    </table>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" data-dismiss="modal" class="btn btn-default">关闭</button>
                <button id="btnSave" type="button" class="btn btn-primary">保存</button>
            </div>
        </div>
    </div>
</div>

<input id="stockinId_r" name="stockinId_m" type="hidden" />
<input id="stockinCode_r" name="stockinCode_m" type="hidden" />
<div id="frmModifyStockIn_r" tabindex="-1" role="dialog" aria-labelledby="modal-header-primary-label" data-backdrop="static"
    aria-hidden="true" class="modal fade">
    <div class="modal-dialog">
        <div class="modal-content">
            <div class="modal-header modal-header-primary">
                <button type="button" data-dismiss="modal" aria-hidden="true" class="close">x</button>
                <h4 id="modal-header-primary-label" class="modal-title">修改备注</h4>
            </div>
            <div class="modal-body">
                <!--begin form-->
                <form id="editForm_r" action="#" class="form-horizontal">
                    <div class="form-group">
                        <label for="remark_r" class="col-sm-2 control-label">备注 &nbsp;</label>
                        <div class="col-sm-10">
                            <textarea id="remark_r" rows="4" name="remark_m" placeholder="" maxlength="255" class="form-control"></textarea>
                        </div>
                    </div>
                </form>
                <!--end form-->
            </div>
            <div class="modal-footer">
                <button type="button" data-dismiss="modal" class="btn btn-default">关闭</button>
                <button id="btnSave_r" type="button" class="btn btn-primary">保存</button>
            </div>
        </div>
    </div>
</div>

<!--商品选择页面-->
<div id="divSelPrjSku" tabindex="-1" role="dialog" aria-hidden="true" class="modal fade">
    <div class="modal-dialog modal-wide-width">
        <div class="modal-content">
            <div class="modal-header modal-header-primary">
                <button type="button" data-dismiss="modal" aria-hidden="true" class="close">x</button>
                <h4 class="modal-title">商品选择</h4>
            </div>
            <div class="modal-body">
                <!--begin form-->
                <form id="frmSelPrjSku" action="#" class="form-horizontal">
                    <div class="row">
                        <div class="col-lg-5 col-xs-5 col-sm-5 col-md-5">
                            <div class="form-group">
                                <label for="skuGoodsCode" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">商品商家编码</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <input id="skuGoodsCode" name="skuGoodsCode" type="text" placeholder="商品商家编码模糊查询" minlength="1" maxlength="100"
                                        class="form-control" fieldtype="string" />
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-7 col-xs-7 col-sm-7 col-md-7">
                            <div class="form-group">
                                <label for="skuGoodsName" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">商品名称</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <input id="skuGoodsName" name="skuGoodsName" type="text" placeholder="商品名称模糊查询" minlength="1" maxlength="100"
                                        class="form-control" fieldtype="string" />
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-lg-5 col-xs-5 col-sm-5 col-md-5">
                            <div class="form-group">
                                <label for="skuSkuCode" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">规格商家编码</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <input id="skuSkuCode" name="skuSkuCode" type="text" placeholder="规格商家编码模糊查询" minlength="1" maxlength="100"
                                        class="form-control" fieldtype="string" />
                                </div>
                            </div>
                        </div>
                        <div class="col-lg-7 col-xs-7 col-sm-7 col-md-7">
                            <div class="form-group">
                                <label for="skuSkuName" class="col-sm-4 col-lg-4 col-xs-4 col-md-4 control-label">规格名称</label>
                                <div class="col-sm-8 col-lg-8 col-xs-8 col-md-8">
                                    <input id="skuSkuName" name="skuSkuName" type="text" placeholder="规格名称模糊查询" minlength="1" maxlength="100"
                                        class="form-control" fieldtype="string" />
                                </div>
                            </div>
                        </div>
                    </div>

                    <div class="row">
                        <div class="col-sm-12 col-lg-12 col-xs-12 col-md-12 text-right">
                            <button type="button" id="btnPrjSkuSearch" name="btnPrjSkuSearch" class="btn btn-primary">查询</button>
                        </div>
                    </div>
                    <br>
                </form>
                <!--end form-->
                <div class="portlet-body" style="height:450px;overflow-y:auto;overflow-x:auto;">
                    <table id="tblSelPrjSku"
                           class="table table-hover table-striped table-bordered table-advanced tb-sticky-header"
                           width="100%">
                        <thead>
                        <tr>
                            <th id="thSelPrjSku" style="width:13px;padding:0px 10px;" colValue="skuCode">
                                <input type="checkbox" id="chkAll" name="chkAll" class="form-control checkall" colValue="chk" />
                            </th>
                            <th width="15%" colValue="goodsCode">商品商家编码</th>
                            <th width="30%" colValue="goodsName">商品名称</th>
                            <th width="15%" colValue="skuCode">规格商家编码</th>
                            <th width="30%" colValue="skuName">规格名称</th>
                            <th width="10%" colValue="">库存类型</th>
                        </tr>
                        </thead>
                        <tbody>
                        </tbody>
                    </table>
                </div>
            </div>
            <div class="modal-footer">
                <button type="button" data-dismiss="modal" class="btn btn-default">关闭</button>
                <button id="btnSaveSelPrjSku" type="button" class="btn btn-primary">保存</button>
            </div>
        </div>
    </div>
</div>

<!--隐藏元素-->
<input id="stockin_id" type="hidden"/>

<!-- 加载 jquery js-->
<script src="/Apollo/madmin/js/jquery-1.10.2.min.js"></script>
<script src="/Apollo/madmin/js/jquery-migrate-1.2.1.min.js"></script>
<script src="/Apollo/madmin/js/jquery-ui.js"></script>

<!-- 加载 bootstrap 和三方插件 js -->
<script src="/Apollo/madmin/vendors/bootstrap/js/bootstrap.min.js"></script>
<script src="/Apollo/madmin/vendors/bootstrap-hover-dropdown/bootstrap-hover-dropdown.js"></script>
<script src="/Apollo/madmin/js/html5shiv.js"></script>
<script src="/Apollo/madmin/js/respond.min.js"></script>
<script src="/Apollo/madmin/vendors/metisMenu/jquery.metisMenu.js"></script>
<script src="/Apollo/madmin/vendors/slimScroll/jquery.slimscroll.js"></script>
<script src="/Apollo/madmin/vendors/jquery-cookie/jquery.cookie.js"></script>
<script src="/Apollo/madmin/vendors/iCheck/icheck.min.js"></script>
<script src="/Apollo/madmin/vendors/iCheck/custom.min.js"></script>
<script src="/Apollo/madmin/vendors/jquery-notific8/jquery.notific8.min.js"></script>
<script src="/Apollo/madmin/vendors/jquery-highcharts/highcharts.js"></script>
<script src="/Apollo/madmin/js/jquery.menu.js"></script>
<script src="/Apollo/madmin/vendors/jquery-pace/pace.min.js"></script>
<script src="/Apollo/madmin/vendors/holder/holder.js"></script>
<script src="/Apollo/madmin/vendors/responsive-tabs/responsive-tabs.js"></script>
<script src="/Apollo/madmin/vendors/jquery-news-ticker/jquery.newsTicker.min.js"></script>
<script src="/Apollo/madmin/vendors/moment/moment.js"></script>
<script src="/Apollo/madmin/vendors/DataTables/media/js/jquery.dataTables.js"></script>
<script src="/Apollo/madmin/vendors/DataTables/media/js/dataTables.bootstrap.js"></script>
<script src="/Apollo/madmin/vendors/DataTables/extensions/TableTools/js/dataTables.tableTools.min.js"></script>
<script src="/Apollo/madmin/js/table-datatables.js"></script>
<script src="/Apollo/madmin/vendors/jquery-tablesorter/jquery.tablesorter.js"></script>
<script src="/Apollo/madmin/js/table-advanced.js"></script>
<script src="/Apollo/madmin/vendors/DataTables/extensions/FixedColumns/js/dataTables.fixedColumns.js"></script>
<script src="/Apollo/madmin/vendors/jquery-validate/jquery.validate.min.js"></script>
<script src="/Apollo/madmin/vendors/jquery-validate/message_zh.js"></script>
<script src="/Apollo/madmin/vendors/jquery-steps/js/jquery.steps.min.js"></script>
<script src="/Apollo/madmin/vendors/jquery-bootstrap-wizard/jquery.bootstrap.wizard.min.js"></script>
<script src="/Apollo/madmin/vendors/jquery-notific8/jquery.notific8.min.js"></script>
<script src="/Apollo/madmin/vendors/sco.message/sco.message.js"></script>
<script src="/Apollo/madmin/vendors/jquery-notific8/notific8.js"></script>
<script src="/Apollo/madmin/vendors/bootstrap-datetimepicker/build/js/bootstrap-datetimepicker.min.js"></script>
<script src="/Apollo/madmin/vendors/jquery-inputmask/jquery.inputmask.bundle.min.js"></script>

<!-- 加载本页面对应的js -->
<script src="/views/static/js/jquery.validate.extend.js"></script>
<script src="/views/static/js/setPageButtonStatus.js"></script>
<script src="stockInList.js"></script>
<script src="/views/static/js/export.js"></script>
<script src="/views/static/js/form.js"></script>
</body>
</html>
